<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><%= controller.title %></title>
<%= stylesheet_link_tag 'application' %>
<%= stylesheet_link_tag controller.controller_name %>
<%= javascript_include_tag 'prototype' %>
<%= javascript_include_tag 'rico' %>
<%= javascript_include_tag 'behaviour' %>
<%= javascript_include_tag 'panel' %>
<%= javascript_include_tag 'validate' %>
<%= javascript_include_tag controller.controller_name+'' %>
</head>
<body class="<%=controller.controller_name%>" >
<div id="container">
<div id="header">
<div id="logo">
<h1>DSL Forge</h1>
</div>
<div id="menu">
<ul>
    <li><a id="home" href="/home">home</a></li>
</ul>
<ul>
    <li><a id="post" href="/post">post</a></li>
</ul>
<ul>
	<li><a id="signup" href="/signup">sign up</a></li>
</ul>
</div>
</div>
<div id="main">
<div id="sidebar">
<div id="whatis" class="panel">
    <div class="panel_header">What is DSL Forge?</div>
    <div class="panel_content">DSL Forge is all about DSL -
Domain Specific Language. It is more than programming.</div>
</div>

<div id="login" class="panel">
    <div id="login_panel_header" class="panel_header">LOGIN</div>
    <div class="panel_content" style="display:none">
      <label for="email"> Email: <input id='dsler_email' name="dsler_email" type="text" style="width:90%"/></label>
      <label for="password"> Password: <input id='dsler_password' type="dsler_password" name="dsler_password" style="width:90%"/></label>   
      <label for="submit"> <input id="login_button" type="submit" value="Login" onclick="doLogin()"/> </label>
    </div>
</div>

</div>
<div id="content">
<div style="color: green"><%= flash[:notice] %></div>
<%= @content_for_layout %></div>
</div>
<div id="footer">
<p id="copyright">Copyright (C) 2006, DSL Forge Group</p>
</div>
</div>
<div id="user_email"></div>
</body>
</html>